package com.asiainfo.controller;

import com.asiainfo.annotation.Controller;
import com.asiainfo.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 测试git 的分支推送
 */
@Controller
@RequestMapping("/ym/show")
public class ShowMsgController
{
    public void showMsg(HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        response.setStatus(200);
        response.setCharacterEncoding("utf-8");
        response.setContentType("application/json;charset=UTF-8");
        System.out.println("show msg");
        response.getWriter().write("show msg!");
    }
}
